package com.hw.entity.po.basic;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hw.entity.base.BasePO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 菜品
 *
 * @author xuguang
 * @date 2021-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_food")
public class Food extends BasePO {
    /**
     * guid
     */
    @TableField(value = "c_food_id")
    private String foodId;

    /**
     * 菜名
     */
    @TableField(value = "c_food_name")
    private String foodName;

    /**
     * 菜品图片
     */
    @TableField(value = "c_img")
    private byte[] img;

    /**
     * 商家id
     */
    @TableField(value = "c_store_id")
    private String storeId;

    /**
     * 菜品描述
     */
    @TableField(value = "c_remark")
    private String remark;

    /**
     * 菜品价格
     */
    @TableField(value = "c_price")
    private Double price;

    /**
     * 累计被点单数
     */
    @TableField(value = "c_count")
    private Integer count;

    /**
     * 辣度(1：不辣，2：微辣，3：重辣)(1：不辣，2：微辣，3：重辣)
     */
    @TableField(value = "c_spicy")
    private Integer spicy;
}
